package com.fr.chart.marker;

import com.fr.base.core.GraphHelper;
import java.awt.Color;
import java.awt.Graphics2D;

public class PointMarker extends Marker
{
  private static final long serialVersionUID = 5518044363983838120L;

  public String getMarkerType()
  {
    return "PointMarker";
  }

  protected void paintMarker(Graphics2D paramGraphics2D, double paramDouble1, double paramDouble2)
  {
    int i = 5;
    for (int j = 0; j < i; ++j)
      for (int k = 0; k < i; ++k)
      {
        paramGraphics2D.setPaint(Color.black);
        double d1 = paramDouble1 - this.size + 2.0D * this.size * j / i;
        double d2 = paramDouble2 - this.size + 2.0D * this.size * k / i;
        GraphHelper.drawLine(paramGraphics2D, d1, d2, d1, d2);
      }
  }
}